package com.nexgo.payment.entity;

import com.nexgo.payment.constrant.CardMode;

/**
 * Created by xiaox on 2017/7/7.
 */

public class CardInfo {
    private CardMode cardMode;
    private String pan;
    private String tk1, tk2, tk3;
    private String expiredDate, serviceCode;
    private boolean isTk1Valid, isTk2Valid, isTk3Valid;

    public CardMode getCardMode() {
        return cardMode;
    }

    public String getPan() {
        return pan;
    }

    public String getTk1() {
        return tk1;
    }

    public String getTk2() {
        return tk2;
    }

    public String getTk3() {
        return tk3;
    }

    public String getExpiredDate() {
        return expiredDate;
    }

    public String getServiceCode() {
        return serviceCode;
    }

    public boolean isTk1Valid() {
        return isTk1Valid;
    }

    public boolean isTk2Valid() {
        return isTk2Valid;
    }

    public boolean isTk3Valid() {
        return isTk3Valid;
    }

    public void setCardMode(CardMode cardMode) {
        this.cardMode = cardMode;
    }

    public void setPan(String pan) {
        this.pan = pan;
    }

    public void setTk1(String tk1) {
        this.tk1 = tk1;
    }

    public void setTk2(String tk2) {
        this.tk2 = tk2;
    }

    public void setTk3(String tk3) {
        this.tk3 = tk3;
    }

    public void setExpiredDate(String expiredDate) {
        this.expiredDate = expiredDate;
    }

    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public void setTk1Valid(boolean tk1Valid) {
        isTk1Valid = tk1Valid;
    }

    public void setTk2Valid(boolean tk2Valid) {
        isTk2Valid = tk2Valid;
    }

    public void setTk3Valid(boolean tk3Valid) {
        isTk3Valid = tk3Valid;
    }
}
